|
Расположение в меню |
---|
Arch → Rebar tools → Custom Rebar 3D/BIM → Reinforcement tools → Пользовательская Арматура |
Верстаки |
Arch, BIM |
Быстрые клавиши |
R B |
Представлено в версии |
- |
См. также |
Структура, Reinforcement |
Инструмент «Арматура» позволяет размещать арматурные полосы внутри объектов Arch Structure. Объекты арматуры основаны на 2D-профилях, таких как sketches или draft objects, которые должны быть нарисованы на грани объекта структуры. Затем вы можете настроить конфигурацию арматуры, такую как количество и диаметр стержней, или расстояние смещения между двумя концами структурного элемента.
Rebar objects are based on 2D profiles such as Draft objects and Sketches, that must be drawn on a face of the structural object. After creation you can adjust the properties of the rebar, including the number and diameter of the bars, and the offset distance between them and the faces of the structural element.
Structural object with two sketches drawn on its faces, which are then turned into two sets of rebar objects
Although normally a rebar is used inside an Arch Structure, since FreeCAD 0.19 the rebar can be created outside of any host object. To host a rebar inside an object, you just need to set its ДанныеHost.
An Arch Rebar object shares the common properties and behaviors of all Arch Components.
See also: Arch API and FreeCAD Scripting Basics.
The Rebar tool can be used in macros and from the Python console by using the following function:
Rebar = makeRebar(baseobj=None, sketch=None, diameter=None, amount=1, offset=None, name="Rebar")
Rebar
object from the given baseobj
, which is an Arch Structure, and a sketch
as profile.
diameter
, amount
, and offset
are used to define the characteristics of the bars.diameter
, amount
, or offset
values are given, the default values from the Arch Preferences are used.Пример:
import FreeCAD, Arch, Part
Structure = Arch.makeStructure(None, length=1000, width=1000, height=3000)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
p1 = FreeCAD.Vector(-400, 400, 0)
p2 = FreeCAD.Vector(400, 400, 0)
Sketch = FreeCAD.ActiveDocument.addObject('Sketcher::SketchObject', 'Sketch')
Sketch.MapMode = "FlatFace"
Sketch.Support = [(Structure, "Face6")]
Sketch.addGeometry(Part.LineSegment(p1, p2))
FreeCAD.ActiveDocument.recompute()
Rebar = Arch.makeRebar(Structure, Sketch, diameter=80, amount=7, offset=50)
Rebar.OffsetStart = 100
Rebar.OffsetEnd = 100
FreeCAD.ActiveDocument.recompute()